Average sentence length |
---|
11.8958 |
sentence length | percentage |
---|---|
2 | 0.1860 |
3 | 1.6110 |
4 | 3.7580 |
5 | 5.9790 |
6 | 6.5940 |
7 | 7.3970 |
8 | 7.4650 |
9 | 7.4810 |
10 | 7.2460 |
11 | 6.7080 |
12 | 6.2210 |
13 | 5.7240 |
14 | 5.0140 |
15 | 4.4040 |
16 | 3.9020 |
17 | 3.4440 |
18 | 2.9150 |
19 | 2.5990 |
20 | 2.1150 |
21 | 1.7940 |
22 | 1.5320 |
23 | 1.2610 |
24 | 1.0200 |
25 | 0.8750 |
26 | 0.7140 |
27 | 0.5950 |
28 | 0.4650 |
29 | 0.3500 |
30 | 0.2340 |
31 | 0.1590 |
32 | 0.1080 |
33 | 0.0620 |
34 | 0.0390 |
35 | 0.0150 |
36 | 0.0080 |
37 | 0.0040 |
38 | 0.0010 |
49 | 0.0010 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters